﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JiveMessenger.Models;

namespace JiveMessenger.SampleData
{
    public class SampleViewModelInviteContactToGroup
    {
        public void Cleanup()
        {
           
        }
        public string NextButtonText
        {
            get
            {
                return "Next";
            }
        }
        private System.Collections.ObjectModel.ObservableCollection<Models.AddContactToGroupModel> _contacts;
        public System.Collections.ObjectModel.ObservableCollection<Models.AddContactToGroupModel> Contacts
        {
            get
            {
              if(_contacts == null)
              {
                  _contacts = new System.Collections.ObjectModel.ObservableCollection<Models.AddContactToGroupModel>();
                  _contacts.Add(new Models.AddContactToGroupModel("contact 1",string.Empty));
                  _contacts.Add(new Models.AddContactToGroupModel("contact 2", string.Empty) { Success = true, StatusText = "Group invite sent" });
                  _contacts.Add(new Models.AddContactToGroupModel("contact 3", string.Empty) { Success = false, StatusText = "Group invite is already pending for this user" });
                  _contacts.Add(new Models.AddContactToGroupModel("contact with longlong long name", string.Empty));
                  _contacts.Add(new Models.AddContactToGroupModel("contact 4", string.Empty));
                  _contacts.Add(new Models.AddContactToGroupModel("contact 5", string.Empty));
              }
              return _contacts;
            }
            set
            {
               
            }
        }
        private JiveChatGroupModel _group;
        public JiveChatGroupModel Group
        {
            get
            {
                if (_group == null)
                    _group = new JiveChatGroupModel("1", "Lulzfest" );
                return _group;
            }
            set
            {
              
            }
        }

        public GalaSoft.MvvmLight.Command.RelayCommand InviteContactsToGroupCommand
        {
            get
            {
                return null;
            }
            set
            {
              
            }
        }
    }
}
